Edit the User Defined SQL Code

The User Defined SQL tab is identical for the physical property editors that use it. Use the User Defined SQL tab to view and change a user-provided DDL statement. The following options are available for this tab:

Edit SQL

Select the check box to change the SQL code in the SQL Statement box. Select this check box only if you want the object to contain syntax that erwin Data Modeler cannot represent, for example, a UNION statement. Or Views and Materialized Views with JOINS, GROUP BY and CTE clauses and/or Wildcards.

When you select this check box, you no longer maintain references to the base tables and columns to which the object refers. After updating the SQL code, click Commit.